package com.woniu.new_orange.customization_model_zhang.service.impl;

import com.woniu.new_orange.customization_model_zhang.service.CarService;
import com.woniu.new_orange.customization_model_zhang.vo.CarVo;
import com.woniu.new_orange.entity.Car;
import com.woniu.new_orange.mapper.CarMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->CarServiceImpl
 * @Description:
 * @Author: PC
 * @Date: 2023-02-08 19:32
 * @Version： 1.0
 **/
@Service
public class CarServiceImpl implements CarService {
    @Resource
    private CarMapper carMapper;

    @Override
    public int insertSelective(Car car) {
        return carMapper.insertSelective(car);
    }

    @Override
    public List<CarVo> selectAll(Integer airTicketBy1) {
        return carMapper.selectAll(airTicketBy1);
    }
}
